            <% content_for :sidebar do -%>
                <% if @category.parent_id == 0 -%>
                <div class="side_box">
                    <h2><%= @category.title %>下的其他分类</h2>
                    <ul class="menu">
                        <% for sub_cat in @category.children -%>
                        <li><%= image_tag("arrow_right.png", :align=>"absmiddle")%> <%= link_to "#{sub_cat.title}",  category_path(sub_cat) %></li>
                        <% end -%>
                    </ul>
                </div>
                <% else -%>
                <div class="side_box">
                    <ul class="menu">
                        <li><%= image_tag("house_go.png", :align=>"absmiddle")%> <%= link_to "返回 #{@category.parent.title}",  category_path(@category.parent) %></li>
                    </ul>
                </div>
                <% end -%>
            <% end -%>
            <% content_for :navbar do -%>
            <div class="box">
                <img class="map" align="absmiddle" alt="You are here" src="/images/map.png"/>
                当前位置
		» <%= link_to "您这儿", :controller =>'browse', :action => 'index' %> 
		» <%= @category.title%>
            </div>
            <% end -%>
            <div class="box">
                <%= render :partial=>'shared/posts', :object => @posts%>
            </div>